<template>
  <div class="home">
    <h1>Vue2 子应用 - 首页</h1>
    <el-card>
      <p>这是 Vue2 子应用的首页内容</p>
      <el-button type="primary" @click="count++">
        点击次数: {{ count }}
      </el-button>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'Home',
  data() {
    return {
      count: 0
    }
  }
}
</script>

<style scoped>
.home {
  padding: 20px;
}
</style> 